﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _008热水器
{
    class Program
    {
        static void Main(string[] args)
        {
            Heater heater = new Heater();//加热器
            Alarm alarm = new Alarm(heater);//报警器
            ScreenLCD lcd = new ScreenLCD(heater);//显示器
            heater.BoilWater();//烧水
        }
    }
}
